]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
background: drop StillFrame class
authorRay Strode <rstrode@redhat.com>
Sat, 2 Mar 2013 22:41:06 +0000 (17:41 -0500)
committerRay Strode <rstrode@redhat.com>
Sat, 2 Mar 2013 22:44:26 +0000 (17:44 -0500)
We aren't using it anymore so nix it.

https://bugzilla.gnome.org/show_bug.cgi?id=694326

js/ui/background.js

index 5aaf07bbddd34f8e9b4da08555b14abaa5233782..74e398eb3e9fe8eafc9ef828bc2ff4f3774e27bb 100644 (file)
@@ -559,23 +559,6 @@ const Background = new Lang.Class({
 });
 Signals.addSignalMethods(Background.prototype);
 
-const StillFrame = new Lang.Class({
-    Name: 'StillFrame',
-
-    _init: function(monitorIndex) {
-        this.actor = new Meta.BackgroundActor();
-        this.actor._delegate = this;
-
-        let content = new Meta.Background({ meta_screen: global.screen,
-                                            monitor: monitorIndex,
-                                            effects: Meta.BackgroundEffects.NONE });
-        content.load_still_frame();
-
-        this.actor.content = content;
-    }
-});
-Signals.addSignalMethods(StillFrame.prototype);
-
 const SystemBackground = new Lang.Class({
     Name: 'SystemBackground',